#include <iostream>
using namespace std;
int main ()

{
    int num, suma;
    suma=0;


    cout << "Ingrese numero a sumar" << endl;
    cin >> num;


    while (num!=0)
    {
    suma=suma+num;
    cout << suma << endl;
    cout << "Ingrese numero a sumar" << endl;
    cin >> num;
    }

    return 1;




}
